<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />
    </head>
    <body>
        
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
        </div>
        <!--
        <div id="grailsLogo" class="logo"><a href="http://grails.org"><img src="${resource(dir:'images',file:'grails_logo.png')}" alt="Grails" border="0" /></a>
        -->
        <div>
          <h1>WNota 0.9</h1>
        <span id='loginLink' style='position: relative; margin-right: 30px; float: right; top: -60px'>
           <g:isLoggedIn>
             Logged in as <g:loggedInUsername/> (<g:link controller='logout'>Logout</g:link>)
           </g:isLoggedIn>
           <g:isNotLoggedIn>
             <g:link controller='login'>Login</g:link>
           </g:isNotLoggedIn>
           </span>
        </div>

        <g:layoutBody />
    </body>
</html>